package net.maku.project.vo;

import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.maku.project.entity.InfoEntity;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @FileName: ProjectReport
 * @Project: maku-boot-zzhl
 * @Package: net.maku.project.vo
 * @Author: Aili
 * @Date: 2024/7/23 0:18
 * @Version: 1.0.0
 * @Description: ProjectReport Description
 */
@Data
public class ProjectReportVO implements TransPojo,Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "项目进度id")
    private Long id;

    @Schema(description = "项目id")
    @Trans(type = TransType.SIMPLE, target = InfoEntity.class, uniqueField = "id", fields = {"projectName","projectCode"}, refs = {"projectName","projectCode"})
    private Long projectId;

    @Schema(description = "项目名称")
    private String projectName;
    @Schema(description = "项目编码")
    private String projectCode;
    @Schema(description = "项目进度")
    private String progressReport;
    @Schema(description = "创建人")
    private String creator;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
